package com.leyou.sms.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "ly.sms")
public class SmsProperties {
    //账号
    String accessKeyID;

    //密钥
    String accessKeySecret;

    //访问API
    String endpoint;

    //短信签名
    String signName;

    //短信模版
    String verifyCodeTemplate;

    //短信模版中验证码的占位符
    String code;
}
